<script>on TotalCardlock screenput empty into TypesHolderrepeat with i = 1 to the number of the last card of bkgnd "ZoneInformation"if (not(the suspended) and the shiftKey is "down") thenexit TotalCardend ifgo to card i of bkgnd "ZoneInformation"repeat with j = 1 to the number of lines in fld Othersset cursor to busyput line j of fld Others into TypesTempput last line of TypesHolder into Containerset cursor to busyif TypesHolder is empty thenput TypesTemp into TypesHolderelse if (TypesTemp > Container) thenput TypesTemp into line (number of lines in TypesHolder + 1) of TypesHolderelserepeat with k = 1 to the number of lines of TypesHolderset cursor to busyput line k of TypesHolder into Containerif (TypesTemp = Container) thenexit repeatelse if (TypesTemp < Container) thenput return before line k of TypesHolderput TypesTemp into line k of TypesHolderexit repeatend ifend repeatend ifend repeatend repeatgo to card AllOthersput TypesHolder into fld AllOthersFldset cursor to normalunlock screenend TotalCard</script>